package LekeU;

import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;

import com.jmoney.luckeylink.handler.LekeU_ApplyIC_Handler;
import com.jmoney.luckeylink.handler.LekeU_MyKey_Handler;
import com.jmoney.luckeylink.handler.LekeW_AuthorizeIC_Handler;
import com.jmoney.luckeylink.handler.LekeW_AuthorizeKey_Handler;

public class LekeU_MyKey {
     
    @BeforeTest
	private void Stup() throws Exception{
    	LekeU_ApplyIC_Handler.InitializeExcelData();
    	LekeW_AuthorizeIC_Handler.InitializeExcelData();
    	LekeU_MyKey_Handler.InitializeExcelData();
    }
    
    @Test
	public void Case1() throws Exception{
//    	LekeU_ApplyIC_Handler.ApplyIC(1);
    	LekeW_AuthorizeIC_Handler.AuthorizeIC(2);	
    	LekeW_AuthorizeIC_Handler.AuthorizeIC(3);	
    	LekeU_MyKey_Handler.MyKey(1);	
    	LekeW_AuthorizeKey_Handler.AuthorizeKey(3);
	}

	@AfterTest
	public void TearDown() throws Exception{
		LekeU_MyKey_Handler.GetCaseInfo(1);
	}
}